/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package operators;

/**
 *
 * @author Dragan
 */
public abstract class Operation {

    protected long outputSize;
    protected long diskCost;
    protected String operationName;

    protected abstract void execute();

    public Operation() {
    }

    public long getOutputSize() {
        return outputSize;
    }

    public void setOutputSize(long outputSize) {
        this.outputSize = outputSize;
    }

    public long getDiskCost() {
        return diskCost;
    }

    public String getOperationName() {
        return operationName;
    }

    @Override
    public String toString() {
        return " diskCost:" + diskCost + " output:" + outputSize;
    }
}
